import ApiSend from './api-send'
import ApiExport from './api-export'
let ser = {
    listShort:function (data) {
        return ApiSend(data,'All/getAllPeople')
    },
    list:function (data) {
        return ApiSend(data,'Press/getList')
    },
    detail:function (data) {
        return ApiSend(data,'All/getPeople')
    },
    listVerity:function (data) {
        return ApiSend(data,'Zhcgly/getSubmit')
    },
    detailVerity:function (data) {
        return ApiSend(data,'Zhcgly/getSubmitInfo')
    },
    setOk:function (data) {
        return ApiSend(data,'Zhcgly/setPeoplePass')
    },
    setInject:function (data) {
        return ApiSend(data,'Zhcgly/setPeopleNotPass')
    },
    save:function (data) {
        return ApiSend(data,'Zhcgly/UpdatePeople')
    },
    setOrgMore:function (data) {
        return ApiSend(data,'Zhcgly/setPeopleMassChange')
    },
    //批量通过参会人员审核
    setVerityMore:function (data) {
        return ApiSend(data,'Zhcgly/setPeopleMassPass')
    },
    //批量驳回参会人员审核
    setNoVerityMore:function (data) {
        return ApiSend(data,'Zhcgly/setPeopleMassNotPass')
    },
    importFile:function (data) {
        return ApiSend(data,'Zhcgly/importUpdatePeople')
    },
    exportFile:function (data) {
        return ApiExport(data, 'Zhcgly/exportPeople');
    },
    exportShortFile:function (data) {
        return ApiExport(data, 'All/exportPeople');
    },
    writeSave:function (data) {
        return ApiSend(data, 'Lry/updatePeople');
    },
    //客商信息录入员添加参会人员
    writeAdd:function (data) {
        return ApiSend(data,'Lry/addPeople')
    },
    //客户信息管理员添加参会人员
    customerManagerAdd:function (data) {
        return ApiSend(data,'Zhcgly/addPeople')
    },
    listConferChildCustomer:function (data) {
        return ApiSend(data,'Fhcgly/getMeePeople')
    },

    importConferChildFile:function (data) {
        return ApiSend(data,'Fhcgly/importPeople')
    },
    exportConferChildFile:function (data) {
        return ApiExport(data, 'Fhcgly/exportPeople');
    },
    deleteConferChild:function (data) {
        return ApiSend(data,'Fhcgly/removeMass')
    },

    listWith:function (data) {
        return ApiSend(data,'Ptgly/getMeePeople')
    },
    //陪同人员
    listWithSub:function (data) {
        return ApiSend(data,'Ptry/getPeople')
    },
    //陪同人员更新参会人员信息
    saveWithSub:function (data) {
        return ApiSend(data,'Ptry/updatePeople')
    },
    //陪同人员删除参会人员信息
    delWithSub:function (data) {
        return ApiSend(data,'Ptry/setNotCome')
    },

    setWith:function (data) {
        return ApiSend(data,'Ptgly/setPtryMass')
    },
    cleanWith:function (data) {
        return ApiSend(data,'Ptgly/setRemovePtryMass')
    },
    exportWithFile:function (data) {
        return ApiExport(data,'Ptgly/exportPeople')
    },
    exportWithAllFile:function (data) {
        return ApiExport(data,'Ptgly/exportNewAllPeople')
    },
    exportWithSubFile:function (data) {
        return ApiExport(data,'Ptry/exportPeople')
    },
    importWithFile:function (data) {
        return ApiSend(data,'Ptgly/importPeople')
    },
    exportConferChildCustomerFile:function (data) {
        return ApiExport(data,'Fhcgly/exportNewAllPeople')
    },


    importTalkFile:function (data) {
        return ApiSend(data,'Fhcgly/inportDjqt')
    },
    exportTalkFile:function (data) {
        return ApiExport(data,'Fhcgly/exportDjqt')
    },


};
export default ser